Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",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.001775/0.001775, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002078/0.002078, allocations: 195.5 kB / 16.53 MB, free: 6.699 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002552/0.002552, allocations: 291.1 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.078/1.078, allocations: 178.6 MB / 0.5073 GB, free: 4.602 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00412/0.00412, allocations: 100.6 kB / 0.6066 GB, free: 24.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2068, allocations: 89.14 MB / 0.6936 GB, free: 4.238 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02732/0.2341, allocations: 22.58 MB / 0.7157 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.2461, allocations: 6.221 MB / 0.7217 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.2478, allocations: 99.44 kB / 0.7218 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004063/0.2519, allocations: 1.544 MB / 0.7233 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003828/0.2557, allocations: 1.625 MB / 0.7249 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003401/0.2591, allocations: 1.332 MB / 0.7262 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007763/0.2669, allocations: 5.943 MB / 0.732 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007475/0.2744, allocations: 6.111 MB / 0.738 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003796/0.2782, allocations: 2.407 MB / 0.7403 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004223/0.2825, allocations: 2.866 MB / 0.7431 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007872/0.2833, allocations: 456 kB / 0.7436 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.2856, allocations: 1.1 MB / 0.7447 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002123/0.2877, allocations: 2.027 MB / 0.7466 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.003014/0.2908, allocations: 2.171 MB / 0.7488 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007854/0.2986, allocations: 7.249 MB / 0.7558 GB, free: 4.266 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.2987, allocations: 0 / 0.7558 GB, free: 4.266 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.52e-07/0.2987, allocations: 0 / 0.7558 GB, free: 4.266 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001493/0.2988, allocations: 0 / 0.7558 GB, free: 4.266 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007208/0.306, allocations: 3.816 MB / 0.7596 GB, free: 396 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3061, allocations: 8.031 kB / 0.7596 GB, free: 388 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2862/0.5923, allocations: 0.4986 MB / 0.7601 GB, free: 63.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006769/0.5991, allocations: 1.206 MB / 0.7612 GB, free: 63.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004832/0.6039, allocations: 2.219 MB / 0.7634 GB, free: 62.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.6042, allocations: 238.3 kB / 0.7636 GB, free: 62.24 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001468/0.6057, allocations: 318.1 kB / 0.7639 GB, free: 62.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.6177, allocations: 6.212 MB / 0.77 GB, free: 59.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.058e-05/0.6178, allocations: 17.53 kB / 0.77 GB, free: 59.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003572/0.6182, allocations: 141.9 kB / 0.7701 GB, free: 59.53 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005407/0.6187, allocations: 407.5 kB / 0.7705 GB, free: 59.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007837/0.6266, allocations: 4.661 MB / 0.7751 GB, free: 57.9 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02487/0.6515, allocations: 29.15 MB / 0.8036 GB, free: 32.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.6533, allocations: 1.411 MB / 0.8049 GB, free: 32.06 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.655, allocations: 1.484 MB / 0.8064 GB, free: 31.32 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.982e-05/0.6551, allocations: 13.31 kB / 0.8064 GB, free: 31.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.6551, allocations: 42.66 kB / 0.8064 GB, free: 31.27 MB / 0.545 GB Notification: Performance of pre-optimization done (n=110): time 2.895e-06/0.6551, allocations: 4.969 kB / 0.8064 GB, free: 31.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=179): time 0.1351/0.7902, allocations: 37.23 MB / 0.8428 GB, free: 152 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.7902, allocations: 73.34 kB / 0.8429 GB, free: 68 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001995/0.7922, allocations: 1.419 MB / 0.8443 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002515/0.7925, allocations: 53.7 kB / 0.8443 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.7937, allocations: 1.546 MB / 0.8458 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006568/0.7943, allocations: 0.6123 MB / 0.8464 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007427/0.7951, allocations: 383.3 kB / 0.8468 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7952, allocations: 301.1 kB / 0.8471 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002643/0.7978, allocations: 1.78 MB / 0.8488 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003065/0.8009, allocations: 2.35 MB / 0.8511 GB, free: 7.324 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006267/0.8072, allocations: 4.391 MB / 0.8554 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.8072, allocations: 4 kB / 0.8554 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01898/0.8262, allocations: 8.56 MB / 0.8637 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.8263, allocations: 15.47 kB / 0.8638 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.734e-05/0.8263, allocations: 20 kB / 0.8638 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01521/0.8415, allocations: 4.677 MB / 0.8683 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.8427, allocations: 299.5 kB / 0.8686 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05239/0.8951, allocations: 32.62 MB / 0.9005 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/0.8975, allocations: 147.8 kB / 0.9006 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003655/0.8979, allocations: 84 kB / 0.9007 GB, free: 3.391 MB / 0.6075 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 (157): * Single equations (assignments): 151 * 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00236/0.9003, allocations: 1.325 MB / 0.902 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005725/0.9009, allocations: 205.6 kB / 0.9022 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01927/0.9201, allocations: 8.439 MB / 0.9104 GB, free: 9.363 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.9202, allocations: 20 kB / 0.9105 GB, free: 9.344 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-05/0.9203, allocations: 24 kB / 0.9105 GB, free: 9.32 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/0.9203, allocations: 11.95 kB / 0.9105 GB, free: 9.309 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02777/0.9481, allocations: 12.85 MB / 0.923 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.349e-05/0.9482, allocations: 7.938 kB / 0.923 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007894/0.949, allocations: 159.8 kB / 0.9232 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0155/0.9645, allocations: 4.516 MB / 0.9276 GB, free: 7.605 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003485/0.9649, allocations: 40 kB / 0.9276 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05293/1.018, allocations: 32.22 MB / 0.9591 GB, free: 6.484 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/1.018, allocations: 8 kB / 0.9591 GB, free: 6.477 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/1.037, allocations: 8.238 MB / 0.9672 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/1.038, allocations: 0.6156 MB / 0.9678 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005542/1.039, allocations: 43.98 kB / 0.9678 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001748/1.041, allocations: 131.8 kB / 0.9679 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008571/1.041, allocations: 176.9 kB / 0.9681 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/1.042, allocations: 48 kB / 0.9682 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001576/1.043, allocations: 0.9549 MB / 0.9691 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.3e-07/1.043, allocations: 0 / 0.9691 GB, free: 12.14 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003569/1.047, allocations: 1.121 MB / 0.9702 GB, free: 11.02 MB / 0.6856 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 (80): * Single equations (assignments): 74 * 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01888/1.066, allocations: 8.832 MB / 0.9788 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01576/1.082, allocations: 7.072 MB / 0.9857 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/1.082, allocations: 4 kB / 0.9857 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.01065/1.092, allocations: 4.37 MB / 0.99 GB, free: 6.465 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/1.096, allocations: 0.5178 MB / 0.9905 GB, free: 5.973 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07092/1.167, allocations: 35.22 MB / 1.025 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003967/1.171, allocations: 2.729 MB / 1.028 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001182/1.172, allocations: 388.6 kB / 1.028 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/1.174, allocations: 1.21 MB / 1.029 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of SimCode: time 8.72e-07/1.174, allocations: 4 kB / 1.029 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4094/1.583, allocations: 82.88 MB / 1.11 GB, free: 217.1 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/12.56, allocations: 17.92 kB / 1.11 GB, free: 217.1 MB / 0.7481 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)