Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.001312/0.001312, allocations: 103.8 kB / 15.98 MB, free: 6.34 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.001193/0.001193, allocations: 199.3 kB / 16.91 MB, free: 6.188 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.27/1.27, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6769/0.6769, allocations: 115.3 MB / 406.1 MB, free: 6.387 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001434/0.001434, allocations: 59.91 kB / 493.2 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3488, allocations: 76.17 MB / 0.556 GB, free: 36.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01036/0.3592, allocations: 9.966 MB / 0.5658 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004589/0.3638, allocations: 3.021 MB / 0.5687 GB, free: 27.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006269/0.3645, allocations: 33.03 kB / 0.5687 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.366, allocations: 0.6237 MB / 0.5694 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.3674, allocations: 0.6427 MB / 0.57 GB, free: 26.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.3687, allocations: 0.5844 MB / 0.5706 GB, free: 26.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003454/0.3722, allocations: 2.747 MB / 0.5732 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003657/0.3758, allocations: 3.066 MB / 0.5762 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/0.3776, allocations: 1.134 MB / 0.5773 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.3793, allocations: 1.468 MB / 0.5788 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002907/0.3796, allocations: 216.2 kB / 0.579 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009461/0.3806, allocations: 492.7 kB / 0.5794 GB, free: 22.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009601/0.3815, allocations: 0.996 MB / 0.5804 GB, free: 22.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009318/0.3825, allocations: 1.015 MB / 0.5814 GB, free: 21.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003528/0.386, allocations: 3.407 MB / 0.5847 GB, free: 20.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.386, allocations: 0 / 0.5847 GB, free: 20.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.386, allocations: 0 / 0.5847 GB, free: 20.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.539e-05/0.3861, allocations: 0.9375 kB / 0.5847 GB, free: 20.42 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003326/0.3894, allocations: 1.947 MB / 0.5866 GB, free: 19.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3895, allocations: 9.938 kB / 0.5867 GB, free: 19.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002742/0.3898, allocations: 249 kB / 0.5869 GB, free: 18.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005328/0.3951, allocations: 0.8885 MB / 0.5878 GB, free: 18.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.3971, allocations: 1.115 MB / 0.5888 GB, free: 17.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.121e-05/0.3972, allocations: 119.2 kB / 0.589 GB, free: 17.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/0.3974, allocations: 141.9 kB / 0.5891 GB, free: 17.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004318/0.4018, allocations: 3.025 MB / 0.592 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.4018, allocations: 7.938 kB / 0.5921 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001803/0.402, allocations: 59.97 kB / 0.5921 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001718/0.4022, allocations: 175 kB / 0.5923 GB, free: 15.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003206/0.4054, allocations: 2.616 MB / 0.5948 GB, free: 12.66 MB / 446.1 MB 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.0126/0.418, allocations: 13.57 MB / 0.6081 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001791/0.4198, allocations: 1.291 MB / 0.6093 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00127/0.4211, allocations: 1.054 MB / 0.6104 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-05/0.4212, allocations: 8.656 kB / 0.6104 GB, free: 11.62 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.4212, allocations: 43.16 kB / 0.6104 GB, free: 11.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=82): time 2.235e-06/0.4212, allocations: 4 kB / 0.6104 GB, free: 11.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=139): time 0.06807/0.4893, allocations: 19.37 MB / 0.6293 GB, free: 8.055 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.632e-05/0.4894, allocations: 72.7 kB / 0.6294 GB, free: 7.969 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.4906, allocations: 0.9183 MB / 0.6303 GB, free: 7.043 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.4908, allocations: 45.7 kB / 0.6304 GB, free: 6.992 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004271/0.4912, allocations: 0.7322 MB / 0.6311 GB, free: 6.246 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004209/0.4916, allocations: 492.9 kB / 0.6315 GB, free: 5.758 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005674/0.4922, allocations: 287.5 kB / 0.6318 GB, free: 5.469 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4923, allocations: 353.9 kB / 0.6321 GB, free: 5.117 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/0.4941, allocations: 1.339 MB / 0.6335 GB, free: 3.777 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.4961, allocations: 1.662 MB / 0.6351 GB, free: 2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/0.4998, allocations: 3.088 MB / 0.6381 GB, free: 14.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.4999, allocations: 0 / 0.6381 GB, free: 14.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01096/0.5108, allocations: 5.643 MB / 0.6436 GB, free: 9.121 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.5109, allocations: 11.94 kB / 0.6436 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.5109, allocations: 12.03 kB / 0.6436 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008371/0.5193, allocations: 2.729 MB / 0.6463 GB, free: 6.355 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006927/0.52, allocations: 191.6 kB / 0.6465 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03269/0.5527, allocations: 25.74 MB / 0.6716 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.554, allocations: 95.95 kB / 0.6717 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.5542, allocations: 56.5 kB / 0.6718 GB, free: 11.71 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001188/0.5554, allocations: 0.7403 MB / 0.6725 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.5556, allocations: 118.6 kB / 0.6726 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/0.566, allocations: 5.384 MB / 0.6779 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.566, allocations: 16 kB / 0.6779 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.548e-05/0.5661, allocations: 16 kB / 0.6779 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.5661, allocations: 15.97 kB / 0.6779 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01509/0.5812, allocations: 8.637 MB / 0.6863 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.5812, allocations: 12.03 kB / 0.6863 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004633/0.5817, allocations: 119.8 kB / 0.6865 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007967/0.5897, allocations: 2.562 MB / 0.689 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001598/0.5898, allocations: 24 kB / 0.689 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03302/0.6229, allocations: 23.01 MB / 0.7115 GB, free: 2.32 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.6229, allocations: 4 kB / 0.7115 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01131/0.6342, allocations: 5.126 MB / 0.7165 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/0.6353, allocations: 475.6 kB / 0.7169 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003525/0.6357, allocations: 32 kB / 0.717 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.6367, allocations: 71.91 kB / 0.717 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005757/0.6373, allocations: 125 kB / 0.7171 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.6374, allocations: 36 kB / 0.7172 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001004/0.6384, allocations: 0.6473 MB / 0.7178 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.11e-07/0.6385, allocations: 0 / 0.7178 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00286/0.6413, allocations: 0.7227 MB / 0.7185 GB, free: 10.99 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01113/0.6525, allocations: 5.709 MB / 0.7241 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008302/0.6608, allocations: 4.731 MB / 0.7287 GB, free: 416 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.6608, allocations: 4 kB / 0.7287 GB, free: 412 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005091/0.6659, allocations: 2.654 MB / 0.7313 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.6674, allocations: 216.2 kB / 0.7315 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2651/0.9325, allocations: 22.54 MB / 0.7535 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001456/0.934, allocations: 1.702 MB / 0.7552 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008159/0.9349, allocations: 325.4 kB / 0.7555 GB, free: 159.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005382/0.9354, allocations: 0.5293 MB / 0.756 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of SimCode: time 1.132e-06/0.9354, allocations: 1.625 kB / 0.756 GB, free: 158.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07298/1.008, allocations: 51.79 MB / 0.8066 GB, free: 128 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001656/1.009, allocations: 247.7 kB / 0.8068 GB, free: 127.8 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/3.384, allocations: 5.375 kB / 0.8068 GB, free: 127.8 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)