Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004484/0.004485, allocations: 98.56 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 195.4 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002469/0.002469, allocations: 286.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.03/1.03, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002948/0.002948, allocations: 100.3 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1897, allocations: 86.98 MB / 0.7659 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.419/0.6087, allocations: 33.32 MB / 0.7985 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02991/0.6386, allocations: 14.81 MB / 0.8129 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006486/0.6452, allocations: 152.7 kB / 0.8131 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01223/0.6574, allocations: 3.657 MB / 0.8166 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01127/0.6687, allocations: 2.886 MB / 0.8195 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008553/0.6773, allocations: 2.334 MB / 0.8217 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01705/0.6944, allocations: 8.813 MB / 0.8303 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01528/0.7097, allocations: 9.578 MB / 0.8397 GB, free: 4.391 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009247/0.719, allocations: 3.956 MB / 0.8436 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008428/0.7275, allocations: 4.039 MB / 0.8475 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002261/0.7297, allocations: 0.714 MB / 0.8482 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006022/0.7358, allocations: 1.718 MB / 0.8499 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00481/0.7406, allocations: 2.826 MB / 0.8526 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.007431/0.7481, allocations: 3.388 MB / 0.856 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01535/0.7634, allocations: 11.22 MB / 0.8669 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.7635, allocations: 0 / 0.8669 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7635, allocations: 0 / 0.8669 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003543/0.7639, allocations: 0 / 0.8669 GB, free: 12.72 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01576/0.7796, allocations: 6.14 MB / 0.8729 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.7797, allocations: 12.03 kB / 0.8729 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002078/0.7818, allocations: 0.7271 MB / 0.8736 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007255/0.7891, allocations: 1.168 MB / 0.8748 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008061/0.7972, allocations: 3.534 MB / 0.8782 GB, free: 0.9609 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/0.7975, allocations: 382.4 kB / 0.8786 GB, free: 0.5859 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001746/0.7993, allocations: 495.9 kB / 0.8791 GB, free: 104 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01709/0.8164, allocations: 8.005 MB / 0.8869 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001416/0.8166, allocations: 31.77 kB / 0.8869 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005729/0.8172, allocations: 216 kB / 0.8871 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001059/0.8182, allocations: 433.6 kB / 0.8875 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/0.8319, allocations: 6.085 MB / 0.8935 GB, free: 1.055 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04721/0.8791, allocations: 34.95 MB / 0.9276 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003174/0.8824, allocations: 2.023 MB / 0.9296 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002861/0.8852, allocations: 1.885 MB / 0.9314 GB, free: 7.023 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.867e-05/0.8854, allocations: 18 kB / 0.9314 GB, free: 7.004 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.587e-05/0.8854, allocations: 64.5 kB / 0.9315 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=171): time 3.346e-06/0.8855, allocations: 4 kB / 0.9315 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=276): time 0.1453/1.031, allocations: 38.96 MB / 0.9695 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/1.031, allocations: 77.58 kB / 0.9696 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003741/1.035, allocations: 2.282 MB / 0.9718 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0004352/1.035, allocations: 77.64 kB / 0.9719 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002102/1.037, allocations: 2.338 MB / 0.9742 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.001212/1.038, allocations: 0.976 MB / 0.9752 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009643/1.039, allocations: 0.5103 MB / 0.9757 GB, free: 9.535 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001775/1.04, allocations: 309.1 kB / 0.9759 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00313/1.043, allocations: 1.97 MB / 0.9779 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00375/1.046, allocations: 2.606 MB / 0.9804 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007455/1.054, allocations: 4.925 MB / 0.9852 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/1.054, allocations: 8 kB / 0.9852 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01632/1.07, allocations: 7.775 MB / 0.9928 GB, free: 7.352 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/1.07, allocations: 12 kB / 0.9928 GB, free: 7.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/1.07, allocations: 16 kB / 0.9929 GB, free: 7.324 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/1.08, allocations: 3.21 MB / 0.996 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/1.082, allocations: 407.2 kB / 0.9964 GB, free: 3.703 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05096/1.133, allocations: 33.91 MB / 1.029 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003125/1.137, allocations: 163.8 kB / 1.03 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003632/1.137, allocations: 115.9 kB / 1.03 GB, free: 0.668 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0036/1.141, allocations: 1.798 MB / 1.032 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008468/1.141, allocations: 349.8 kB / 1.032 GB, free: 14.52 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01485/1.156, allocations: 7.361 MB / 1.039 GB, free: 7.074 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.2e-05/1.156, allocations: 28 kB / 1.039 GB, free: 7.047 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.566e-05/1.156, allocations: 28 kB / 1.039 GB, free: 7.02 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.802e-05/1.156, allocations: 11.95 kB / 1.039 GB, free: 7.008 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0257/1.182, allocations: 12.92 MB / 1.052 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.413e-05/1.182, allocations: 8 kB / 1.052 GB, free: 9.902 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/1.183, allocations: 228.5 kB / 1.052 GB, free: 9.68 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008557/1.192, allocations: 2.853 MB / 1.055 GB, free: 6.809 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003621/1.192, allocations: 52 kB / 1.055 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04689/1.239, allocations: 32.69 MB / 1.087 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-06/1.239, allocations: 11.94 kB / 1.087 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3441/1.583, allocations: 6.905 MB / 1.093 GB, free: 264.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001952/1.585, allocations: 0.7897 MB / 1.094 GB, free: 264.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004767/1.586, allocations: 54.45 kB / 1.094 GB, free: 264.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/1.587, allocations: 166.6 kB / 1.094 GB, free: 264.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008171/1.588, allocations: 264.8 kB / 1.095 GB, free: 264.1 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000173/1.588, allocations: 74.52 kB / 1.095 GB, free: 264.1 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002121/1.591, allocations: 1.524 MB / 1.096 GB, free: 264 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/1.591, allocations: 0.5 kB / 1.096 GB, free: 264 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.00412/1.595, allocations: 1.371 MB / 1.098 GB, free: 264 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01133/1.606, allocations: 7.536 MB / 1.105 GB, free: 262.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.01287/1.619, allocations: 6.95 MB / 1.112 GB, free: 260.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/1.619, allocations: 2.938 kB / 1.112 GB, free: 260.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.008089/1.627, allocations: 4.425 MB / 1.116 GB, free: 258.2 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005453/1.633, allocations: 1.126 MB / 1.117 GB, free: 257.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06823/1.701, allocations: 39.19 MB / 1.155 GB, free: 240.5 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00418/1.705, allocations: 3.638 MB / 1.159 GB, free: 239.2 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.002307/1.707, allocations: 0.5595 MB / 1.16 GB, free: 239.1 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001804/1.709, allocations: 1.978 MB / 1.161 GB, free: 237.4 MB / 0.8419 GB Notification: Performance of SimCode: time 1.283e-06/1.709, allocations: 0 / 1.161 GB, free: 237.4 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.189/1.898, allocations: 111.6 MB / 1.27 GB, free: 130.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.35/18.24, allocations: 11.78 kB / 1.271 GB, free: 130.8 MB / 0.8419 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)