Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001679/0.00168, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002057/0.002057, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2387/0.2387, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 78.06 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1333, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.02338/0.1568, allocations: 19.76 MB / 500 MB, free: 1.293 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01163/0.1684, allocations: 4.974 MB / 0.4931 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003444/0.172, allocations: 163.5 kB / 0.4933 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01825/0.1903, allocations: 7.766 MB / 0.5008 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008784/0.1991, allocations: 2.047 MB / 0.5028 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004753/0.2038, allocations: 1.402 MB / 0.5042 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2281/0.4319, allocations: 12.07 MB / 0.516 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04102/0.473, allocations: 26.19 MB / 0.5416 GB, free: 14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01287/0.4859, allocations: 6.479 MB / 0.5479 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01299/0.4989, allocations: 7.227 MB / 0.555 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004575/0.5035, allocations: 1.723 MB / 0.5566 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01112/0.5147, allocations: 2.393 MB / 0.559 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006659/0.5214, allocations: 3.65 MB / 0.5625 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01676/0.5382, allocations: 7.011 MB / 0.5694 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02965/0.5679, allocations: 23.47 MB / 0.5923 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.5679, allocations: 0 / 0.5923 GB, free: 14.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5679, allocations: 0 / 0.5923 GB, free: 14.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005777/0.5685, allocations: 0 / 0.5923 GB, free: 14.36 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: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.04296/0.6115, allocations: 14.56 MB / 0.6065 GB, free: 15.82 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.6116, allocations: 11.97 kB / 0.6065 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007076/0.6186, allocations: 1.729 MB / 0.6082 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06246/0.6811, allocations: 11.11 MB / 0.6191 GB, free: 3.066 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01495/0.6961, allocations: 7.112 MB / 0.626 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001004/0.6972, allocations: 0.8838 MB / 0.6269 GB, free: 11.34 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005132/0.7023, allocations: 1.167 MB / 0.628 GB, free: 10.19 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05284/0.7552, allocations: 18.61 MB / 0.6462 GB, free: 7.559 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006357/0.7559, allocations: 23.88 kB / 0.6462 GB, free: 7.535 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005052/0.7609, allocations: 493.6 kB / 0.6467 GB, free: 7.066 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008439/0.7618, allocations: 0.6578 MB / 0.6473 GB, free: 6.406 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04438/0.8062, allocations: 19.14 MB / 0.666 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.671/1.477, allocations: 60.87 MB / 0.7255 GB, free: 101.2 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01811/1.495, allocations: 16.64 MB / 0.7417 GB, free: 94.12 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006847/1.502, allocations: 4.539 MB / 0.7462 GB, free: 94.05 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006688/1.503, allocations: 390 kB / 0.7465 GB, free: 93.86 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.951e-05/1.503, allocations: 103.6 kB / 0.7466 GB, free: 93.81 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=653): time 9.337e-06/1.503, allocations: 0 / 0.7466 GB, free: 93.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=653): time 0.02137/1.525, allocations: 12.43 MB / 0.7588 GB, free: 90.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.475e-05/1.525, allocations: 120.6 kB / 0.7589 GB, free: 90.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01384/1.538, allocations: 8.605 MB / 0.7673 GB, free: 87.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001387/1.54, allocations: 132.3 kB / 0.7674 GB, free: 87.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003024/1.543, allocations: 4.486 MB / 0.7718 GB, free: 83.96 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002644/1.546, allocations: 2.193 MB / 0.7739 GB, free: 82.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002265/1.548, allocations: 1.464 MB / 0.7754 GB, free: 81.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.436e-05/1.548, allocations: 312.4 kB / 0.7757 GB, free: 81.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005178/1.553, allocations: 4.113 MB / 0.7797 GB, free: 79.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00675/1.56, allocations: 6.914 MB / 0.7864 GB, free: 74.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/1.574, allocations: 11.98 MB / 0.7981 GB, free: 64.09 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.559e-05/1.574, allocations: 24 kB / 0.7981 GB, free: 64.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=977) (initialization): time 0.02042/1.594, allocations: 12.07 MB / 0.8099 GB, free: 52.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001175/1.594, allocations: 44 kB / 0.81 GB, free: 52.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000241/1.595, allocations: 92 kB / 0.8101 GB, free: 52.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001001/1.596, allocations: 412.6 kB / 0.8105 GB, free: 51.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007207/1.603, allocations: 2.016 MB / 0.8124 GB, free: 49.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006112/1.609, allocations: 9.592 MB / 0.8218 GB, free: 39.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008687/1.618, allocations: 1.354 MB / 0.8231 GB, free: 38.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002388/1.62, allocations: 383.9 kB / 0.8235 GB, free: 37.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * 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 (971): * Single equations (assignments): 965 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01207/1.632, allocations: 4.573 MB / 0.8279 GB, free: 33.44 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002569/1.635, allocations: 0.7021 MB / 0.8286 GB, free: 32.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02069/1.656, allocations: 10.61 MB / 0.839 GB, free: 22.02 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.529e-05/1.656, allocations: 75.94 kB / 0.8391 GB, free: 21.94 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.465e-05/1.656, allocations: 0 / 0.8391 GB, free: 21.94 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001472/1.656, allocations: 31.88 kB / 0.8391 GB, free: 21.91 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5517/2.208, allocations: 161.5 MB / 0.9968 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003056/2.208, allocations: 84 kB / 0.9969 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005827/2.214, allocations: 1.556 MB / 0.9984 GB, free: 164.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008481/2.215, allocations: 386.3 kB / 0.9988 GB, free: 164.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00126/2.216, allocations: 258.8 kB / 0.999 GB, free: 164.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005338/2.221, allocations: 9.46 MB / 1.008 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.245e-05/2.221, allocations: 132 kB / 1.008 GB, free: 153.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02691/2.248, allocations: 18.61 MB / 1.027 GB, free: 133.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005262/2.254, allocations: 2.026 MB / 1.029 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002969/2.257, allocations: 243.9 kB / 1.029 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007154/2.264, allocations: 0.5424 MB / 1.029 GB, free: 130.8 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00244/2.266, allocations: 0.7444 MB / 1.03 GB, free: 130 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001552/2.268, allocations: 319.9 kB / 1.03 GB, free: 129.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.01169/2.28, allocations: 6.051 MB / 1.036 GB, free: 123.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.41e-07/2.28, allocations: 0 / 1.036 GB, free: 123.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01149/2.291, allocations: 2.624 MB / 1.039 GB, free: 121.1 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * 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 (721): * Single equations (assignments): 715 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02343/2.315, allocations: 19.51 MB / 1.058 GB, free: 99.46 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.03544/2.35, allocations: 16.76 MB / 1.074 GB, free: 82.69 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.937e-05/2.35, allocations: 12 kB / 1.074 GB, free: 82.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.01187/2.362, allocations: 5.461 MB / 1.08 GB, free: 77.16 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01346/2.376, allocations: 1.5 MB / 1.081 GB, free: 75.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4855/2.861, allocations: 143.5 MB / 1.221 GB, free: 143.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009748/2.871, allocations: 7.776 MB / 1.229 GB, free: 140.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.009615/2.881, allocations: 3.562 MB / 1.232 GB, free: 140.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008245/2.889, allocations: 4.202 MB / 1.236 GB, free: 136.9 MB / 0.5919 GB Notification: Performance of SimCode: time 1.593e-06/2.889, allocations: 0 / 1.236 GB, free: 136.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5503/3.439, allocations: 191.5 MB / 1.423 GB, free: 188.1 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/17.75, allocations: 8.766 kB / 1.423 GB, free: 188.1 MB / 0.5919 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Electrical_QuasiStatic_Polyphase_SerialConnection.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1)