Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.005781/0.005781, allocations: 99.86 kB / 15.73 MB, free: 6.039 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.001434/0.001434, allocations: 202.9 kB / 16.68 MB, free: 5.965 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.488/1.488, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002691/0.002691, allocations: 294.2 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.04/1.04, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002937/0.002937, allocations: 94.45 kB / 0.681 GB, free: 4 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1883, allocations: 86.97 MB / 0.7659 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.4045/0.5929, allocations: 41.17 MB / 0.8061 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03194/0.6248, allocations: 15.08 MB / 0.8209 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007931/0.6328, allocations: 192.8 kB / 0.821 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.01349/0.6464, allocations: 4.459 MB / 0.8254 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.6569, allocations: 2.795 MB / 0.8281 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009423/0.6663, allocations: 3.158 MB / 0.8312 GB, free: 6.477 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01622/0.6826, allocations: 11.4 MB / 0.8423 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01866/0.7013, allocations: 12.47 MB / 0.8545 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01241/0.7137, allocations: 4.818 MB / 0.8592 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01048/0.7242, allocations: 5.382 MB / 0.8645 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.00286/0.7271, allocations: 0.9492 MB / 0.8654 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005584/0.7327, allocations: 2.04 MB / 0.8674 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004806/0.7376, allocations: 3.699 MB / 0.871 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.007217/0.7448, allocations: 4.299 MB / 0.8752 GB, free: 4.238 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.02088/0.7657, allocations: 14.31 MB / 0.8892 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.425e-06/0.7657, allocations: 4 kB / 0.8892 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7657, allocations: 0 / 0.8892 GB, free: 5.883 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003851/0.7661, allocations: 0 / 0.8892 GB, free: 5.883 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.01944/0.7856, allocations: 7.787 MB / 0.8968 GB, free: 14 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.7856, allocations: 8.031 kB / 0.8968 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001607/0.7873, allocations: 0.8994 MB / 0.8977 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009602/0.7969, allocations: 1.561 MB / 0.8992 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00962/0.8065, allocations: 4.466 MB / 0.9036 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000385/0.8069, allocations: 452.5 kB / 0.904 GB, free: 6.535 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/0.8088, allocations: 0.6018 MB / 0.9046 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02499/0.8338, allocations: 10.68 MB / 0.915 GB, free: 10.88 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000356/0.8342, allocations: 31.77 kB / 0.915 GB, free: 10.84 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002048/0.8362, allocations: 267.9 kB / 0.9153 GB, free: 10.58 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002988/0.8393, allocations: 0.769 MB / 0.9161 GB, free: 9.809 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01948/0.8588, allocations: 8.561 MB / 0.9244 GB, free: 1.227 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06172/0.9205, allocations: 46.6 MB / 0.9699 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006278/0.9268, allocations: 4.324 MB / 0.9741 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00623/0.9331, allocations: 3.712 MB / 0.9778 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003612/0.9335, allocations: 38.78 kB / 0.9778 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.9336, allocations: 77.34 kB / 0.9779 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=353): time 6.152e-06/0.9336, allocations: 0 / 0.9779 GB, free: 6.695 MB / 0.7325 GB Notification: Performance of matching and sorting (n=578): time 0.8185/1.752, allocations: 122.9 MB / 1.098 GB, free: 267.2 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/1.752, allocations: 111.1 kB / 1.098 GB, free: 267.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003535/1.756, allocations: 2.681 MB / 1.101 GB, free: 266.3 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0007832/1.757, allocations: 124 kB / 1.101 GB, free: 266.1 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.001311/1.758, allocations: 2.749 MB / 1.103 GB, free: 265.2 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.00151/1.759, allocations: 2.05 MB / 1.105 GB, free: 263.9 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001438/1.761, allocations: 0.9257 MB / 1.106 GB, free: 263.5 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 3.52e-05/1.761, allocations: 301.7 kB / 1.107 GB, free: 263.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004809/1.766, allocations: 4.082 MB / 1.111 GB, free: 261.5 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006121/1.772, allocations: 5.013 MB / 1.116 GB, free: 258.8 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01645/1.788, allocations: 9.853 MB / 1.125 GB, free: 253.6 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.931e-05/1.788, allocations: 6.875 kB / 1.125 GB, free: 253.6 MB / 0.8419 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03918/1.828, allocations: 17.02 MB / 1.142 GB, free: 246.9 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/1.828, allocations: 17.62 kB / 1.142 GB, free: 246.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-05/1.828, allocations: 23.56 kB / 1.142 GB, free: 246.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0293/1.857, allocations: 9.09 MB / 1.151 GB, free: 244.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002214/1.859, allocations: 0.5266 MB / 1.151 GB, free: 244.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08538/1.945, allocations: 77.02 MB / 1.226 GB, free: 176.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00484/1.95, allocations: 279.8 kB / 1.227 GB, free: 176.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007131/1.95, allocations: 196 kB / 1.227 GB, free: 176.1 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003748/1.954, allocations: 2.421 MB / 1.229 GB, free: 173.6 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.955, allocations: 497 kB / 1.23 GB, free: 173.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03329/1.988, allocations: 16.81 MB / 1.246 GB, free: 156.2 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.578e-05/1.989, allocations: 56 kB / 1.246 GB, free: 156.1 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001612/1.989, allocations: 72 kB / 1.246 GB, free: 156.1 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.878e-05/1.989, allocations: 30.52 kB / 1.246 GB, free: 156 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06181/2.051, allocations: 25.67 MB / 1.271 GB, free: 130.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.76e-05/2.051, allocations: 8 kB / 1.271 GB, free: 130.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002394/2.053, allocations: 319.6 kB / 1.272 GB, free: 129.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02678/2.08, allocations: 8.265 MB / 1.28 GB, free: 121.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009946/2.081, allocations: 108 kB / 1.28 GB, free: 121.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08427/2.165, allocations: 73.92 MB / 1.352 GB, free: 46.01 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/2.165, allocations: 8 kB / 1.352 GB, free: 46 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03813/2.203, allocations: 21.59 MB / 1.373 GB, free: 24.06 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002905/2.206, allocations: 1.38 MB / 1.374 GB, free: 22.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001222/2.208, allocations: 108 kB / 1.375 GB, free: 22.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003569/2.211, allocations: 287.6 kB / 1.375 GB, free: 22.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001835/2.213, allocations: 0.5221 MB / 1.375 GB, free: 21.74 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004757/2.214, allocations: 140 kB / 1.375 GB, free: 21.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002426/2.216, allocations: 1.78 MB / 1.377 GB, free: 19.84 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/2.216, allocations: 4 kB / 1.377 GB, free: 19.83 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.007617/2.224, allocations: 2.465 MB / 1.38 GB, free: 17.37 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0409/2.265, allocations: 22.3 MB / 1.401 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.02994/2.294, allocations: 14.57 MB / 1.416 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/2.295, allocations: 5 kB / 1.416 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.01949/2.314, allocations: 9.385 MB / 1.425 GB, free: 2.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007073/2.321, allocations: 1.386 MB / 1.426 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4488/2.77, allocations: 70.39 MB / 1.495 GB, free: 254.4 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006331/2.776, allocations: 4.891 MB / 1.5 GB, free: 252.7 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002665/2.779, allocations: 0.7472 MB / 1.5 GB, free: 252.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002477/2.782, allocations: 2.608 MB / 1.503 GB, free: 250.4 MB / 0.8731 GB Notification: Performance of SimCode: time 1.323e-06/2.782, allocations: 0 / 1.503 GB, free: 250.4 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2574/3.039, allocations: 196.5 MB / 1.695 GB, free: 64.37 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.39/24.43, allocations: 16.23 kB / 1.695 GB, free: 64.35 MB / 0.8731 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1)